package org.jeecg.modules.demo.yxmodalshift.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 形态转换单
 * @Author: jeecg-boot
 * @Date:   2022-07-15
 * @Version: V1.0
 */
@Data
@TableName("yx_modalshift")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yx_modalshift对象", description="形态转换单")
public class YxModalshift implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**转换单号*/
	@Excel(name = "转换单号", width = 15)
    @ApiModelProperty(value = "转换单号")
    private java.lang.String zhNo;
	/**入库单编号*/
	@Excel(name = "入库单编号", width = 15)
    @ApiModelProperty(value = "入库单编号")
    private java.lang.String woNo;
	/**转换数量*/
	@Excel(name = "转换数量", width = 15)
    @ApiModelProperty(value = "转换数量")
    private java.math.BigDecimal zhsl;
	/**现存量*/
	@Excel(name = "现存量", width = 15)
    @ApiModelProperty(value = "现存量")
    private java.math.BigDecimal standingstock;
	/**现存货名称*/
	@Excel(name = "现存货名称", width = 15)
    @ApiModelProperty(value = "现存货名称")
    private java.lang.String coalname;
	/**转换存货名称*/
	@Excel(name = "转换存货名称", width = 15)
    @ApiModelProperty(value = "转换存货名称")
    private java.lang.String zhcocalname;
	/**其他入库单号*/
	@Excel(name = "其他入库单号", width = 15)
    @ApiModelProperty(value = "其他入库单号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.lang.String qtrkno;
	/**其他出库单号*/
	@Excel(name = "其他出库单号", width = 15)
    @ApiModelProperty(value = "其他出库单号")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.lang.String qtckno;
	/**部门*/
	@Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    @Dict(dictTable = "SYS_DEPART",dicCode = "ID",dicText = "DEPART_NAME")
    private java.lang.String department;
	/**业务员*/
	@Excel(name = "业务员", width = 15)
    @ApiModelProperty(value = "业务员")
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
    private java.lang.String poStaff;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    @Dict(dictTable = "SYS_USER",dicCode = "ID",dicText = "REALNAME")
    private java.lang.String saleman;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**审核日期*/
	@Excel(name = "审核日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核日期")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private java.util.Date checkTime;
	/**审核状态（0：未审，1：已审，2：已关闭）*/
	@Excel(name = "审核状态（0：未审，1：已审，2：已关闭）", width = 15)
    @ApiModelProperty(value = "审核状态（0：未审，1：已审，2：已关闭）")
    @Dict(dicCode= "checkState")

    private java.lang.Integer shenhe;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
    @ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
    //备注
    private String remark;
    /**单据日期*/
    @Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "单据日期")
    private java.util.Date zhDate;
    /**
     * 创建人
     */
    private String createBy;


    private String sysOrgCode;
}
